# -*- coding: utf-8 -*-
from django.contrib import admin
from repairs.models import Repair, RepairWorkers, Compensation

class RepairAdmin(admin.ModelAdmin):
    list_display = ['start', 'end']

admin.site.register(Repair, RepairAdmin)

class RepairWorkersdmin(admin.ModelAdmin):
    list_display = ['repair', 'employee', 'date', 'compensation']

admin.site.register(RepairWorkers, RepairWorkersdmin)

class CompensationWorkersAdmin(admin.ModelAdmin):
    list_display = ['title']

admin.site.register(Compensation, CompensationWorkersAdmin)
  